@font-face {
    font-family: BebasNeue;
    src: url(https://img121.7dun.com/newRecommend2/BebasNeue-1.otf) format('truetype');
}

.coupon-item {
    align-items: center;
    background: url('https://img121.7dun.com/20230207NewImg/other/yhqBg.png') no-repeat;
    background-size: 100% 100%;
    box-sizing: border-box;
    display: flex;
    height: 280rpx;
    margin: 0 auto;
    padding: 44rpx 10rpx;
    width: 686rpx;
}

.coupon-item.unactive .detail,
.coupon-item.unactive .discount-money {
    color: #a5a7b2;
}

.coupon-item.active {
    background: url('https://img121.7dun.com/20230207NewImg/other/xinpingtai.png') no-repeat;
    background-size: 100% 100%;
}

.coupon-item.active .discount-money {
    color: #fff;
}

.coupon-item.active .action .btn {
    background-color: #f52302;
    color: #fff;
}

.coupon-item .discount-money {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 220rpx;
}

.coupon-item .discount-money .price {
    color: #fff;
    font-family: BebasNeue;
    font-size: 72rpx;
    margin-left: 8rpx;
}

.coupon-item .discount-money .price .unit {
    font-size: 32rpx;
}

.coupon-item .discount-money .type {
    color: #fff;
    font-size: 22rpx;
    font-weight: 700;
    margin-top: 4rpx;
}

.coupon-item .discount-money .action {
    display: flex;
    justify-content: center;
    margin-top: 22rpx;
    width: 180rpx;
}

.coupon-item .discount-money .action .btnText {
    background: #9aa1a9;
    border: 2px solid #6c727a;
    border-radius: 2rpx;
    color: #6c727a;
    font-size: 22rpx;
    height: 40rpx;
    line-height: 40rpx;
    text-align: center;
    width: 136rpx;
}

.coupon-item .discount-money .action .btn {
    background: #fff;
    border: 2px solid #000;
    border-radius: 2rpx;
    color: #000;
    font-size: 22rpx;
    height: 40rpx;
    line-height: 40rpx;
    text-align: center;
    width: 136rpx;
}

.coupon-item .detail {
    color: #fff;
    flex: 1;
}

.coupon-item .detail .title {
    align-items: center;
    color: #fff;
    display: flex;
    font-size: 28rpx;
    font-weight: 700;
}

.coupon-item .detail .label {
    border: 1px solid #f66e60;
    color: #f66e60;
    display: inline;
    font-size: 20rpx;
    height: 32rpx;
    line-height: 32rpx;
    margin-top: 16rpx;
    padding: 0 12rpx;
    position: relative;
}

.coupon-item .detail .valid-date {
    color: #6c727a;
    font-size: 20rpx;
    margin-top: 16rpx;
}

.coupon-item .detail .limit-type {
    color: #9aa1a9;
    font-size: 20rpx;
    margin-top: 32rpx;
}
